The following tables list the members exposed by Repository<T>.
Name | Description | |
---|---|---|
![]() | Repository<T> Constructor | Creates a new repository. |
Name | Description | |
---|---|---|
![]() | DefaultQueryStrategy | Gets or sets the repository's default query strategy. |
Name | Description | |
---|---|---|
![]() | EntityManager | Returns the EntityManager used by this repository. |
Name | Description | |
---|---|---|
![]() | AllAsync | Overloaded. Retrieves all entities with the repository's default query strategy. |
![]() | AllInCache | Retrieves all entities from the cache. |
![]() | AllInDataSourceAsync | Overloaded. Retrieves all entities from the back-end data source. |
![]() | CountAsync | Returns the number of entities. |
![]() | CountInCache | Returns the number of entities in the cache. |
![]() | Delete | Overloaded. Marks the specified entity as to be deleted. |
![]() | ExistsInCache | Returns true if the entity matching the provided key is found in the cache. |
![]() | FindAsync | Overloaded. Retrieves one or more entities matching the provided expression with the repository's default query strategy. |
![]() | FindInCache | Overloaded. Retrieves one or more entities matching the provided expression from the cache. |
![]() | FindInDataSourceAsync | Overloaded. Retrieves one or more entities matching the provided expression from the back-end data source. |
![]() | WithIdAsync | Overloaded. Retrieves the entity matching the provided key with the repository's default query strategy. |
![]() | WithIdFromCache | Retrieves the entity matching the provided key from the entity cache. |
![]() | WithIdFromDataSourceAsync | Overloaded. Retrieves the entity matching the provided key from the back-end data source. |
Name | Description | |
---|---|---|
![]() | GetFindBaseQuery | Returns the base query used for Find/All operations. Override to use named queries instead of the default queries. |
![]() | GetFindQuery | Overloaded. Returns the query to retrieve a list of entities. |
![]() | GetKeyQuery | Returns the query to retrieve a single entity, |